<div class="indexMessBox">



    <div class="messlist" id="messlist">


        <div class="messlist" id="messlist">
            <?php $i = 0;
            foreach ($data['data'] as $k => $v) { ?>
                <div class="mTList<?php $i++;
                echo $i;
                $i = $i == 2 ? 0 : $i; ?>" >
                    <div class="mListPic"><img
                            src="<?php  $v['thum'] = empty($v['thum']) ? '__THEME_PATH__images/noPic.png' : $v['thum'];
                            echo $v['thum']; ?>"  onerror="javascript:this.src='__THEME_PATH__images/noPic.png';"
                            alt="<?php echo $v['title']; ?>"></div>
                    <div class="mListTitle"><?php echo $allCategory[$v['cid']]; ?><a href="<?php echo UU('News/news/index',array('id'=>$v['id']));?>"
                                               target="_blank"><?php echo $v['title']; ?></a></div>
                    <div class="mListContent">
                        <?php if (strlen($v['content']) > 320) {
                            $v['content'] = mb_substr(strip_tags(htmlspecialchars_decode($v['content']),''), 0, 150) . '...';
                        }
                        echo $v['content']; ?>
                    </div>
                    <div class="mListContact">
                        发布时间： <?php echo $v['create_time'];?>
                    </div>
                    <div class="mblDate"><span style="display: none;" class="boxConsole" id="bcl<?php echo $v['id'];?>"></span></div>


                </div>
            <?php } ?>



            <script type="text/javascript" src="__THEME_PATH__js/box.js"></script>

            <div class="xr">
                <div class="adBox" style="margin:0px 0px 0px 0px; width:auto; height:auto;"></div>
                <div class="adBox" style="margin:0px 0px 3px 0px; width:232px; height:250px;"><img
                        src="__THEME_PATH__images/20160704742332.gif" style="width:232px; height:250px;"/></div>
                <div class="adBox" style="margin:0px 0px 8px 0px; width:232px; height:250px;"><img
                        src="__THEME_PATH__images/20160704266558.jpg" style="width:232px; height:250px;"/></div>
            </div>

            <div class="clear"></div>

            <div class="pagelist">
                <table border="0" align="center" cellspacing="0" cellpadding="0">

                    <tr>

                        <td>
                            {$page}
                        </td>

                    </tr>

                </table>

            </div>

            <div class="clear"></div>


            </div>

        </div>



    </div>


